package cn.itenzo.good.service;

import cn.itenzo.good.model.GoodItem;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Administrator on 2017/5/21 0021.
 */
public interface ItemService {


   /**
    * 根据ID来查询商品类别
    * @param id
    * @return
    */
   GoodItem queryItemById(Long id);


   Integer deleteItemById(Long id);


   List<GoodItem> queryItemByStoreId(Long storeid);

   Integer save(GoodItem entity);

   PageInfo<GoodItem> queryItemByPage(GoodItem entity, Integer page, Integer rows,String orderClause);

}
